package com.wfw.gateway.fallback;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by yuzhongbo on 2018/9/14.
 */
@EnableAutoConfiguration
@RestController
public class HystrixController {

    @RequestMapping("/hystrixTimeout")
    public String hystrixTimeout() {
        return "gateway触发了hystrixTimeout断路由";
    }
}
